home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
Canvas Tools
/
Hatch Patterns.rsrc
/
MDEF_2000_HatchMDEF.txt
< prev
next >
Wrap
Text File
|
1995-05-12
|
44KB
|
805 lines
start:
00000000 600E bra +0x10 /* 00000010 */
00000002 0000 4D44 ori.b D0, 0x44 /* 'D' */
00000006 4546 chk.w D2, D6
00000008 07D0 bset [A0], D3
0000000A 0000 0000 ori.b D0, 0x0
0000000E 0000 41FA ori.b D0, 0xFA
// begin alternate branch 00000010-00000014
label00000010:
00000010 41FA FFEE lea.l A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
// end alternate branch 00000010-00000014
label00000010: // (misaligned)
00000012 FFEE .extension 0xFEE // unimplemented
00000014 4E71 nop
00000016 4E71 nop
00000018 6000 01C6 bra +0x1C8 /* 000001E0 */
0000001C 4EFA 001E jmp [PC + 0x1E /* 0000003C */]
00000020 4EFA 002E jmp [PC + 0x2E /* 00000050 */]
fn00000024:
00000024 4EFA 003E jmp [PC + 0x3E /* 00000064 */]
00000028 4EFA 0056 jmp [PC + 0x56 /* 00000080 */]
0000002C 4EFA 0088 jmp [PC + 0x88 /* 000000B6 */]
00000030 4EFA 00A4 jmp [PC + 0xA4 /* 000000D6 */]
00000034 4EFA 00C2 jmp [PC + 0xC2 /* 000000F8 */]
00000038 4EFA 00DE jmp [PC + 0xDE /* 00000118 */]
label0000003C:
0000003C 205F movea.l A0, [A7]+
0000003E 3218 move.w D1, [A0]+
label00000040:
00000040 3418 move.w D2, [A0]+
00000042 B058 cmp.w D0, [A0]+
00000044 57C9 FFFA dbeq D1, -0x8 /* 00000040 */
00000048 4A42 tst.w D2
label0000004A:
0000004A 67FE beq -0x0 /* 0000004A */
0000004C 4EF0 20FC jmp [A0 + D2.w - 0x4]
label00000050:
00000050 205F movea.l A0, [A7]+
00000052 3218 move.w D1, [A0]+
label00000054:
00000054 3418 move.w D2, [A0]+
00000056 B098 cmp.l D0, [A0]+
00000058 57C9 FFFA dbeq D1, -0x8 /* 00000054 */
0000005C 4A42 tst.w D2
label0000005E:
0000005E 67FE beq -0x0 /* 0000005E */
00000060 4EF0 20FA jmp [A0 + D2.w - 0x6]
label00000064:
00000064 205F movea.l A0, [A7]+
00000066 3218 move.w D1, [A0]+
00000068 3418 move.w D2, [A0]+
0000006A B042 cmp.w D0, D2
0000006C 6E0A bgt +0xC /* 00000078 */
0000006E 9041 sub.w D0, D1
00000070 6D06 blt +0x8 /* 00000078 */
00000072 D040 add.w D0, D0
00000074 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label00000078:
00000078 3010 move.w D0, [A0]
label0000007A:
0000007A 67FE beq -0x0 /* 0000007A */
0000007C 4EF0 0000 jmp [A0 + D0.w]
label00000080:
00000080 202F 0004 move.l D0, [A7 + 0x4]
00000084 2F41 0004 move.l [A7 + 0x4], D1
00000088 222F 0008 move.l D1, [A7 + 0x8]
0000008C 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000090 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00000094 2400 move.l D2, D0
00000096 2601 move.l D3, D1
00000098 4842 swap.w D2
0000009A C4C3 mulu.w D2, D3
0000009C 2800 move.l D4, D0
0000009E 2A01 move.l D5, D1
000000A0 4845 swap.w D5
000000A2 C8C5 mulu.w D4, D5
000000A4 D444 add.w D2, D4
000000A6 4842 swap.w D2
000000A8 4242 clr.w D2
000000AA C0C1 mulu.w D0, D1
000000AC D082 add.l D0, D2
000000AE 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000000B2 221F move.l D1, [A7]+
000000B4 4E75 rts
label000000B6:
000000B6 202F 0004 move.l D0, [A7 + 0x4]
000000BA 2F41 0004 move.l [A7 + 0x4], D1
000000BE 222F 0008 move.l D1, [A7 + 0x8]
000000C2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000C6 48E7 3100 movem.l -[A7], D2,D3,D7
000000CA 4EBA 009C jsr [PC + 0x9C /* 00000168 */]
000000CE 4CDF 008C movem.l D2,D3,D7, [A7]+
000000D2 221F move.l D1, [A7]+
000000D4 4E75 rts
label000000D6:
000000D6 202F 0004 move.l D0, [A7 + 0x4]
000000DA 2F41 0004 move.l [A7 + 0x4], D1
000000DE 222F 0008 move.l D1, [A7 + 0x8]
000000E2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000E6 48E7 3100 movem.l -[A7], D2,D3,D7
000000EA 4EBA 007C jsr [PC + 0x7C /* 00000168 */]
000000EE 2001 move.l D0, D1
000000F0 4CDF 008C movem.l D2,D3,D7, [A7]+
000000F4 221F move.l D1, [A7]+
000000F6 4E75 rts
label000000F8:
000000F8 202F 0004 move.l D0, [A7 + 0x4]
000000FC 2F41 0004 move.l [A7 + 0x4], D1
00000100 222F 0008 move.l D1, [A7 + 0x8]
00000104 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000108 48E7 3100 movem.l -[A7], D2,D3,D7
0000010C 4EBA 002C jsr [PC + 0x2C /* 0000013A */]
00000110 4CDF 008C movem.l D2,D3,D7, [A7]+
00000114 221F move.l D1, [A7]+
00000116 4E75 rts
label00000118:
00000118 202F 0004 move.l D0, [A7 + 0x4]
0000011C 2F41 0004 move.l [A7 + 0x4], D1
00000120 222F 0008 move.l D1, [A7 + 0x8]
00000124 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000128 48E7 3100 movem.l -[A7], D2,D3,D7
0000012C 4EBA 000C jsr [PC + 0xC /* 0000013A */]
00000130 2001 move.l D0, D1
00000132 4CDF 008C movem.l D2,D3,D7, [A7]+
00000136 221F move.l D1, [A7]+
00000138 4E75 rts
fn0000013A:
0000013A 4A80 tst.l D0
0000013C 6A1C bpl +0x1E /* 0000015A */
0000013E 4A81 tst.l D1
00000140 6A0C bpl +0xE /* 0000014E */
00000142 4480 neg.l D0
00000144 4481 neg.l D1
00000146 4EBA 0020 jsr [PC + 0x20 /* 00000168 */]
0000014A 4481 neg.l D1
0000014C 4E75 rts
label0000014E:
0000014E 4480 neg.l D0
00000150 4EBA 0016 jsr [PC + 0x16 /* 00000168 */]
00000154 4480 neg.l D0
00000156 4481 neg.l D1
00000158 4E75 rts
label0000015A:
0000015A 4A81 tst.l D1
0000015C 6A0A bpl +0xC /* 00000168 */
0000015E 4481 neg.l D1
00000160 4EBA 0006 jsr [PC + 0x6 /* 00000168 */]
00000164 4480 neg.l D0
00000166 4E75 rts
fn00000168:
00000168 2E3C 0000 FFFF move.l D7, 0xFFFF
0000016E B280 cmp.l D1, D0
00000170 6306 bls +0x8 /* 00000178 */
00000172 2200 move.l D1, D0
00000174 7000 moveq.l D0, 0x00
00000176 4E75 rts
label00000178:
00000178 B087 cmp.l D0, D7
0000017A 620C bhi +0xE /* 00000188 */
0000017C 80C1 divu.w D0, D1
0000017E 4840 swap.w D0
00000180 3200 move.w D1, D0
00000182 4240 clr.w D0
00000184 4840 swap.w D0
00000186 4E75 rts
label00000188:
00000188 B287 cmp.l D1, D7
0000018A 621A bhi +0x1C /* 000001A6 */
0000018C 2E00 move.l D7, D0
0000018E 4240 clr.w D0
00000190 4840 swap.w D0
00000192 80C1 divu.w D0, D1
00000194 4840 swap.w D0
00000196 4847 swap.w D7
00000198 3E00 move.w D7, D0
0000019A 4847 swap.w D7
0000019C 8EC1 divu.w D7, D1
0000019E 3007 move.w D0, D7
000001A0 4847 swap.w D7
000001A2 3207 move.w D1, D7
000001A4 4E75 rts
label000001A6:
000001A6 2400 move.l D2, D0
000001A8 2601 move.l D3, D1
label000001AA:
000001AA E288 lsr D0, 1
000001AC E289 lsr D1, 1
000001AE B287 cmp.l D1, D7
000001B0 62F8 bhi -0x6 /* 000001AA */
000001B2 80C1 divu.w D0, D1
000001B4 C087 and.l D0, D7
label000001B6:
000001B6 3203 move.w D1, D3
000001B8 C2C0 mulu.w D1, D0
000001BA 2E03 move.l D7, D3
000001BC 4847 swap.w D7
000001BE CEC0 mulu.w D7, D0
000001C0 4847 swap.w D7
000001C2 D287 add.l D1, D7
000001C4 6508 bcs +0xA /* 000001CE */
000001C6 9282 sub.l D1, D2
000001C8 6204 bhi +0x6 /* 000001CE */
000001CA 4481 neg.l D1
000001CC 4E75 rts
label000001CE:
000001CE 5340 subq.w D0, 1
000001D0 60E4 bra -0x1A /* 000001B6 */
000001D2 0050 0001 ori.w [A0], 0x1
fn000001D6:
000001D6 6104 bsr +0x6 /* 000001DC */
000001D8 0000 0000 ori.b D0, 0x0
fn000001DC:
000001DC 225F movea.l A1, [A7]+
000001DE 4E75 rts
label000001E0:
000001E0 4E56 FFD0 link A6, -0x0030
000001E4 2F0A move.l -[A7], A2
000001E6 4EBA FFEE jsr [PC - 0x12 /* 000001D6 */]
000001EA 2288 move.l [A1], A0
000001EC 2F0C move.l -[A7], A4
000001EE 4EBA FFE6 jsr [PC - 0x1A /* 000001D6 */]
000001F2 2851 movea.l A4, [A1]
000001F4 302E 0018 move.w D0, [A6 + 0x18]
000001F8 4EBA FE2A jsr [PC - 0x1D6 /* 00000024 */]
000001FC 0000 0003 ori.b D0, 0x3
00000200 037C 00CC bchg 0xCC, D1
00000204 01B4 0004 bclr [A4 + D0.w + 0x4], D0
00000208 006C 2F2E 0014 ori.w [A4 + 0x14], 0x2F2E /* '/.' */
0000020E 4EBA 037A jsr [PC + 0x37A /* 0000058A */]
00000212 588F addq.l A7, 4
00000214 2D40 FFFC move.l [A6 - 0x4], D0
00000218 4A80 tst.l D0
0000021A 6740 beq +0x42 /* 0000025C */
0000021C 206E 0014 movea.l A0, [A6 + 0x14]
00000220 226E FFFC movea.l A1, [A6 - 0x4]
00000224 246E FFFC movea.l A2, [A6 - 0x4]
00000228 2452 movea.l A2, [A2]
0000022A 2251 movea.l A1, [A1]
0000022C 3029 0008 move.w D0, [A1 + 0x8]
00000230 906A 0004 sub.w D0, [A2 + 0x4]
00000234 2050 movea.l A0, [A0]
00000236 3140 0002 move.w [A0 + 0x2], D0
0000023A 206E 0014 movea.l A0, [A6 + 0x14]
0000023E 226E FFFC movea.l A1, [A6 - 0x4]
00000242 246E FFFC movea.l A2, [A6 - 0x4]
00000246 2452 movea.l A2, [A2]
00000248 2251 movea.l A1, [A1]
0000024A 3029 0006 move.w D0, [A1 + 0x6]
0000024E 906A 0002 sub.w D0, [A2 + 0x2]
00000252 2050 movea.l A0, [A0]
00000254 3140 0004 move.w [A0 + 0x4], D0
00000258 6000 0322 bra +0x324 /* 0000057C */
label0000025C:
0000025C 206E 0014 movea.l A0, [A6 + 0x14]
00000260 2050 movea.l A0, [A0]
00000262 4268 0002 clr.w [A0 + 0x2]
00000266 206E 0014 movea.l A0, [A6 + 0x14]
0000026A 2050 movea.l A0, [A0]
0000026C 4268 0004 clr.w [A0 + 0x4]
00000270 6000 030A bra +0x30C /* 0000057C */
00000274 206E 0008 movea.l A0, [A6 + 0x8]
00000278 3950 0858 move.w [A4 + 0x858], [A0]
0000027C 302E 000E move.w D0, [A6 + 0xE]
00000280 0640 0012 addi.w D0, 0x12
00000284 206E 0010 movea.l A0, [A6 + 0x10]
00000288 3140 0004 move.w [A0 + 0x4], D0
0000028C 206E 0010 movea.l A0, [A6 + 0x10]
00000290 3080 move.w [A0], D0
00000292 206E 0010 movea.l A0, [A6 + 0x10]
00000296 302E 000C move.w D0, [A6 + 0xC]
0000029A 3140 0006 move.w [A0 + 0x6], D0
0000029E 206E 0010 movea.l A0, [A6 + 0x10]
000002A2 3140 0002 move.w [A0 + 0x2], D0
000002A6 206E 0014 movea.l A0, [A6 + 0x14]
000002AA 2050 movea.l A0, [A0]
000002AC 226E 0010 movea.l A1, [A6 + 0x10]
000002B0 3028 0004 move.w D0, [A0 + 0x4]
000002B4 D169 0004 add.w [A1 + 0x4], D0
000002B8 206E 0014 movea.l A0, [A6 + 0x14]
000002BC 2050 movea.l A0, [A0]
000002BE 226E 0010 movea.l A1, [A6 + 0x10]
000002C2 3028 0002 move.w D0, [A0 + 0x2]
000002C6 D169 0006 add.w [A1 + 0x6], D0
000002CA 6000 02B0 bra +0x2B2 /* 0000057C */
000002CE 2F2E 0014 move.l -[A7], [A6 + 0x14]
000002D2 4EBA 02B6 jsr [PC + 0x2B6 /* 0000058A */]
000002D6 588F addq.l A7, 4
000002D8 2D40 FFFC move.l [A6 - 0x4], D0
000002DC 4A80 tst.l D0
000002DE 670A beq +0xC /* 000002EA */
000002E0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000002E4 2F2E 0010 move.l -[A7], [A6 + 0x10]
000002E8 A8F6 syscall DrawPicture
label000002EA:
000002EA 4A6C 0858 tst.w [A4 + 0x858]
000002EE 6700 028C beq +0x28E /* 0000057C */
000002F2 486E FFD0 pea.l [A6 - 0x30]
000002F6 A898 syscall GetPenState
000002F8 A89E syscall PenNormal
000002FA 206E 0014 movea.l A0, [A6 + 0x14]
000002FE 2050 movea.l A0, [A0]
00000300 3028 0002 move.w D0, [A0 + 0x2]
00000304 5540 subq.w D0, 2
00000306 48C0 ext.l D0
00000308 81FC 0043 divs.w D0, 0x43 /* 'C' */
0000030C 3D40 FFEA move.w [A6 - 0x16], D0
00000310 4A6E FFEA tst.w [A6 - 0x16]
00000314 6700 0098 beq +0x9A /* 000003AE */
00000318 302C 0858 move.w D0, [A4 + 0x858]
0000031C 5340 subq.w D0, 1
0000031E 48C0 ext.l D0
00000320 81EE FFEA divs.w D0, [A6 - 0x16]
00000324 4840 swap.w D0
00000326 3D40 FFE6 move.w [A6 - 0x1A], D0
0000032A 302C 0858 move.w D0, [A4 + 0x858]
0000032E 5340 subq.w D0, 1
00000330 48C0 ext.l D0
00000332 81EE FFEA divs.w D0, [A6 - 0x16]
00000336 3D40 FFE4 move.w [A6 - 0x1C], D0
0000033A 206E 0010 movea.l A0, [A6 + 0x10]
0000033E 302E FFE4 move.w D0, [A6 - 0x1C]
00000342 C1FC 0023 muls.w D0, 0x23 /* '#' */
00000346 D050 add.w D0, [A0]
00000348 5240 addq.w D0, 1
0000034A 3D40 FFF0 move.w [A6 - 0x10], D0
0000034E 3D40 FFEC move.w [A6 - 0x14], D0
00000352 206E 0010 movea.l A0, [A6 + 0x10]
00000356 302E FFE6 move.w D0, [A6 - 0x1A]
0000035A C1FC 0043 muls.w D0, 0x43 /* 'C' */
0000035E D068 0002 add.w D0, [A0 + 0x2]
00000362 5240 addq.w D0, 1
00000364 3D40 FFF2 move.w [A6 - 0xE], D0
00000368 3D40 FFEE move.w [A6 - 0x12], D0
0000036C 066E 0023 FFF0 addi.w [A6 - 0x10], 0x23 /* '#' */
00000372 066E 0043 FFF2 addi.w [A6 - 0xE], 0x43 /* 'C' */
00000378 302E FFEE move.w D0, [A6 - 0x12]
0000037C 5440 addq.w D0, 2
0000037E 3F00 move.w -[A7], D0
00000380 302E FFF0 move.w D0, [A6 - 0x10]
00000384 5740 subq.w D0, 3
00000386 3F00 move.w -[A7], D0
00000388 A893 syscall MoveTo
0000038A 302E FFF2 move.w D0, [A6 - 0xE]
0000038E 5740 subq.w D0, 3
00000390 3F00 move.w -[A7], D0
00000392 302E FFF0 move.w D0, [A6 - 0x10]
00000396 5740 subq.w D0, 3
00000398 3F00 move.w -[A7], D0
0000039A A891 syscall LineTo
0000039C 302E FFF2 move.w D0, [A6 - 0xE]
000003A0 5740 subq.w D0, 3
000003A2 3F00 move.w -[A7], D0
000003A4 302E FFEC move.w D0, [A6 - 0x14]
000003A8 5440 addq.w D0, 2
000003AA 3F00 move.w -[A7], D0
000003AC A891 syscall LineTo
label000003AE:
000003AE 486E FFD0 pea.l [A6 - 0x30]
000003B2 A899 syscall SetPenState
000003B4 6000 01C6 bra +0x1C8 /* 0000057C */
000003B8 206E 0014 movea.l A0, [A6 + 0x14]
000003BC 2050 movea.l A0, [A0]
000003BE 3028 0002 move.w D0, [A0 + 0x2]
000003C2 5540 subq.w D0, 2
000003C4 48C0 ext.l D0
000003C6 81FC 0043 divs.w D0, 0x43 /* 'C' */
000003CA 3D40 FFEA move.w [A6 - 0x16], D0
000003CE 206E 0014 movea.l A0, [A6 + 0x14]
000003D2 2050 movea.l A0, [A0]
000003D4 3028 0004 move.w D0, [A0 + 0x4]
000003D8 5540 subq.w D0, 2
000003DA 48C0 ext.l D0
000003DC 81FC 0023 divs.w D0, 0x23 /* '#' */
000003E0 3D40 FFE8 move.w [A6 - 0x18], D0
000003E4 4A6E FFEA tst.w [A6 - 0x16]
000003E8 6706 beq +0x8 /* 000003F0 */
000003EA 4A6E FFE8 tst.w [A6 - 0x18]
000003EE 660A bne +0xC /* 000003FA */
label000003F0:
000003F0 206E 0008 movea.l A0, [A6 + 0x8]
000003F4 4250 clr.w [A0]
000003F6 6000 0184 bra +0x186 /* 0000057C */
label000003FA:
000003FA 486E FFD0 pea.l [A6 - 0x30]
000003FE A898 syscall GetPenState
00000400 A89E syscall PenNormal
00000402 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000406 A89C syscall PenMode
00000408 206E 0010 movea.l A0, [A6 + 0x10]
0000040C 3010 move.w D0, [A0]
0000040E 5240 addq.w D0, 1
00000410 3D40 FFF4 move.w [A6 - 0xC], D0
00000414 206E 0010 movea.l A0, [A6 + 0x10]
00000418 3028 0002 move.w D0, [A0 + 0x2]
0000041C 5240 addq.w D0, 1
0000041E 3D40 FFF6 move.w [A6 - 0xA], D0
00000422 206E 0010 movea.l A0, [A6 + 0x10]
00000426 3028 0004 move.w D0, [A0 + 0x4]
0000042A 5340 subq.w D0, 1
0000042C 3D40 FFF8 move.w [A6 - 0x8], D0
00000430 206E 0010 movea.l A0, [A6 + 0x10]
00000434 3028 0006 move.w D0, [A0 + 0x6]
00000438 5340 subq.w D0, 1
0000043A 3D40 FFFA move.w [A6 - 0x6], D0
0000043E 4267 clr.w -[A7]
00000440 2F2E 000C move.l -[A7], [A6 + 0xC]
00000444 486E FFF4 pea.l [A6 - 0xC]
00000448 A8AD syscall PtInRect
0000044A 101F move.b D0, [A7]+
0000044C 4A00 tst.b D0
0000044E 6742 beq +0x44 /* 00000492 */
00000450 206E 0010 movea.l A0, [A6 + 0x10]
00000454 302E 000E move.w D0, [A6 + 0xE]
00000458 9068 0002 sub.w D0, [A0 + 0x2]
0000045C 5340 subq.w D0, 1
0000045E 48C0 ext.l D0
00000460 81FC 0043 divs.w D0, 0x43 /* 'C' */
00000464 3D40 FFE6 move.w [A6 - 0x1A], D0
00000468 206E 0010 movea.l A0, [A6 + 0x10]
0000046C 302E 000C move.w D0, [A6 + 0xC]
00000470 9050 sub.w D0, [A0]
00000472 5340 subq.w D0, 1
00000474 48C0 ext.l D0
00000476 81FC 0023 divs.w D0, 0x23 /* '#' */
0000047A 3D40 FFE4 move.w [A6 - 0x1C], D0
0000047E 302E FFE4 move.w D0, [A6 - 0x1C]
00000482 C1EE FFEA muls.w D0, [A6 - 0x16]
00000486 D06E FFE6 add.w D0, [A6 - 0x1A]
0000048A 5240 addq.w D0, 1
0000048C 3D40 FFE2 move.w [A6 - 0x1E], D0
00000490 6004 bra +0x6 /* 00000496 */
label00000492:
00000492 426E FFE2 clr.w [A6 - 0x1E]
label00000496:
00000496 206E 0008 movea.l A0, [A6 + 0x8]
0000049A 302E FFE2 move.w D0, [A6 - 0x1E]
0000049E B050 cmp.w D0, [A0]
000004A0 6700 00D4 beq +0xD6 /* 00000576 */
000004A4 4EBA 017C jsr [PC + 0x17C /* 00000622 */]
000004A8 206E 0008 movea.l A0, [A6 + 0x8]
000004AC 4A50 tst.w [A0]
000004AE 675A beq +0x5C /* 0000050A */
000004B0 206E 0010 movea.l A0, [A6 + 0x10]
000004B4 226E 0008 movea.l A1, [A6 + 0x8]
000004B8 3011 move.w D0, [A1]
000004BA 5340 subq.w D0, 1
000004BC 48C0 ext.l D0
000004BE 81EE FFEA divs.w D0, [A6 - 0x16]
000004C2 C1FC 0023 muls.w D0, 0x23 /* '#' */
000004C6 D050 add.w D0, [A0]
000004C8 5240 addq.w D0, 1
000004CA 3D40 FFF0 move.w [A6 - 0x10], D0
000004CE 3D40 FFEC move.w [A6 - 0x14], D0
000004D2 206E 0010 movea.l A0, [A6 + 0x10]
000004D6 226E 0008 movea.l A1, [A6 + 0x8]
000004DA 3011 move.w D0, [A1]
000004DC 5340 subq.w D0, 1
000004DE 48C0 ext.l D0
000004E0 81EE FFEA divs.w D0, [A6 - 0x16]
000004E4 4840 swap.w D0
000004E6 C1FC 0043 muls.w D0, 0x43 /* 'C' */
000004EA D068 0002 add.w D0, [A0 + 0x2]
000004EE 5240 addq.w D0, 1
000004F0 3D40 FFF2 move.w [A6 - 0xE], D0
000004F4 3D40 FFEE move.w [A6 - 0x12], D0
000004F8 066E 0023 FFF0 addi.w [A6 - 0x10], 0x23 /* '#' */
000004FE 066E 0043 FFF2 addi.w [A6 - 0xE], 0x43 /* 'C' */
00000504 486E FFEC pea.l [A6 - 0x14]
00000508 A8A1 syscall FrameRect
label0000050A:
0000050A 4A6E FFE2 tst.w [A6 - 0x1E]
0000050E 6712 beq +0x14 /* 00000522 */
00000510 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00000514 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000518 4EBA 00D8 jsr [PC + 0xD8 /* 000005F2 */]
0000051C 5C8F addq.l A7, 6
0000051E 4A40 tst.w D0
00000520 6608 bne +0xA /* 0000052A */
label00000522:
00000522 206E 0008 movea.l A0, [A6 + 0x8]
00000526 4250 clr.w [A0]
00000528 604C bra +0x4E /* 00000576 */
label0000052A:
0000052A 206E 0010 movea.l A0, [A6 + 0x10]
0000052E 302E FFE4 move.w D0, [A6 - 0x1C]
00000532 C1FC 0023 muls.w D0, 0x23 /* '#' */
00000536 D050 add.w D0, [A0]
00000538 5240 addq.w D0, 1
0000053A 3D40 FFF0 move.w [A6 - 0x10], D0
0000053E 3D40 FFEC move.w [A6 - 0x14], D0
00000542 206E 0010 movea.l A0, [A6 + 0x10]
00000546 302E FFE6 move.w D0, [A6 - 0x1A]
0000054A C1FC 0043 muls.w D0, 0x43 /* 'C' */
0000054E D068 0002 add.w D0, [A0 + 0x2]
00000552 5240 addq.w D0, 1
00000554 3D40 FFF2 move.w [A6 - 0xE], D0
00000558 3D40 FFEE move.w [A6 - 0x12], D0
0000055C 066E 0023 FFF0 addi.w [A6 - 0x10], 0x23 /* '#' */
00000562 066E 0043 FFF2 addi.w [A6 - 0xE], 0x43 /* 'C' */
00000568 486E FFEC pea.l [A6 - 0x14]
0000056C A8A1 syscall FrameRect
0000056E 206E 0008 movea.l A0, [A6 + 0x8]
00000572 30AE FFE2 move.w [A0], [A6 - 0x1E]
label00000576:
00000576 486E FFD0 pea.l [A6 - 0x30]
0000057A A899 syscall SetPenState
label0000057C:
0000057C 285F movea.l A4, [A7]+
0000057E 245F movea.l A2, [A7]+
00000580 4E5E unlink A6
00000582 205F movea.l A0, [A7]+
00000584 4FEF 0012 lea.l A7, [A7 + 0x12]
00000588 4ED0 jmp [A0]
fn0000058A:
0000058A 4E56 FFF8 link A6, -0x0008
0000058E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000592 3F3C 0001 move.w -[A7], 0x1
00000596 486E FFFE pea.l [A6 - 0x2]
0000059A A93F syscall GetItmIcon
0000059C 2F2E 0008 move.l -[A7], [A6 + 0x8]
000005A0 3F3C 0001 move.w -[A7], 0x1
000005A4 486E FFFC pea.l [A6 - 0x4]
000005A8 A84E syscall GetItemCmd
000005AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000005AE 3F3C 0001 move.w -[A7], 0x1
000005B2 486E FFFA pea.l [A6 - 0x6]
000005B6 A943 syscall GetItmMark
000005B8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000005BC 3F3C 0001 move.w -[A7], 0x1
000005C0 486E FFF8 pea.l [A6 - 0x8]
000005C4 A941 syscall GetItmStyle
000005C6 7000 moveq.l D0, 0x00
000005C8 302E FFFE move.w D0, [A6 - 0x2]
000005CC 7218 moveq.l D1, 0x18
000005CE E3A8 lsl D0, D1
000005D0 7200 moveq.l D1, 0x00
000005D2 322E FFFC move.w D1, [A6 - 0x4]
000005D6 7410 moveq.l D2, 0x10
000005D8 E5A9 lsl D1, D2
000005DA 8081 or.l D0, D1
000005DC 7200 moveq.l D1, 0x00
000005DE 322E FFFA move.w D1, [A6 - 0x6]
000005E2 E189 lsl D1, 8
000005E4 8081 or.l D0, D1
000005E6 7200 moveq.l D1, 0x00
000005E8 322E FFF8 move.w D1, [A6 - 0x8]
000005EC 8081 or.l D0, D1
000005EE 4E5E unlink A6
000005F0 4E75 rts
fn000005F2:
000005F2 4E56 0000 link A6, 0
000005F6 0C6E 001F 000C cmpi.w [A6 + 0xC], 0x1F
000005FC 6E06 bgt +0x8 /* 00000604 */
000005FE 4A6E 000C tst.w [A6 + 0xC]
00000602 6C04 bge +0x6 /* 00000608 */
label00000604:
00000604 7001 moveq.l D0, 0x01
00000606 6016 bra +0x18 /* 0000061E */
label00000608:
00000608 206E 0008 movea.l A0, [A6 + 0x8]
0000060C 2050 movea.l A0, [A0]
0000060E 2028 000A move.l D0, [A0 + 0xA]
00000612 322E 000C move.w D1, [A6 + 0xC]
00000616 E2A0 asr D0, D1
00000618 0280 0000 0001 andi.l D0, 0x1
label0000061E:
0000061E 4E5E unlink A6
00000620 4E75 rts
fn00000622:
00000622 4E56 FFFC link A6, -0x0004
00000626 4267 clr.w -[A7]
00000628 4879 6865 6C70 push.l 0x68656C70 /* 'help' */
0000062E 486E FFFC pea.l [A6 - 0x4]
00000632 4EBA 002E jsr [PC + 0x2E /* 00000662 */]
00000636 301F move.w D0, [A7]+
00000638 4A40 tst.w D0
0000063A 6622 bne +0x24 /* 0000065E */
0000063C 202E FFFC move.l D0, [A6 - 0x4]
00000640 0800 0000 btst.b D0, 0x0
00000644 6718 beq +0x1A /* 0000065E */
00000646 4267 clr.w -[A7]
00000648 303C 0003 move.w D0, 0x3
0000064C A830 syscall Pack14
0000064E 101F move.b D0, [A7]+
00000650 4A00 tst.b D0
00000652 670A beq +0xC /* 0000065E */
00000654 4267 clr.w -[A7]
00000656 303C 0002 move.w D0, 0x2
0000065A A830 syscall Pack14
0000065C 301F move.w D0, [A7]+
label0000065E:
0000065E 4E5E unlink A6
00000660 4E75 rts
fn00000662:
00000662 4E56 0000 link A6, 0
00000666 203C 0000 A89F move.l D0, 0xA89F
0000066C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000066E 2F08 move.l -[A7], A0
00000670 203C 0000 A0AD move.l D0, 0xA0AD
00000676 A346 syscall GetOSTrapAddress, flags=3
00000678 B1DF cmpa.l A0, [A7]+
0000067A 670E beq +0x10 /* 0000068A */
0000067C 202E 000C move.l D0, [A6 + 0xC]
00000680 A1AD syscall Gestalt, flags=1
00000682 226E 0008 movea.l A1, [A6 + 0x8]
00000686 2288 move.l [A1], A0
00000688 6026 bra +0x28 /* 000006B0 */
label0000068A:
0000068A 41FA 0036 lea.l A0, [PC + 0x36 /* 000006C2, value 0x76657273 'vers' */]
0000068E 303C EA51 move.w D0, 0xEA51
00000692 222E 000C move.l D1, [A6 + 0xC]
label00000696:
00000696 B298 cmp.l D1, [A0]+
00000698 6706 beq +0x8 /* 000006A0 */
0000069A 4A98 tst.l [A0]+
0000069C 6712 beq +0x14 /* 000006B0 */
0000069E 60F6 bra -0x8 /* 00000696 */
label000006A0:
000006A0 43FA 0020 lea.l A1, [PC + 0x20 /* 000006C2, value 0x76657273 'vers' */]
000006A4 D3D0 add.l A1, [A0]
000006A6 4ED1 jmp [A1]
label000006A8:
000006A8 226E 0008 movea.l A1, [A6 + 0x8]
000006AC 2280 move.l [A1], D0
000006AE 4240 clr.w D0
label000006B0:
000006B0 3D40 0010 move.w [A6 + 0x10], D0
000006B4 4E5E unlink A6
000006B6 205F movea.l A0, [A7]+
000006B8 508F addq.l A7, 8
000006BA 4ED0 jmp [A0]
label000006BC:
000006BC 303C EA52 move.w D0, 0xEA52
000006C0 60EE bra -0x10 /* 000006B0 */
000006C2 7665 moveq.l D3, 0x65
000006C4 7273 moveq.l D1, 0x73
000006C6 0000 0060 ori.b D0, 0x60 /* '`' */
000006CA 6D61 blt +0x63 /* 0000072D */
000006CC 6368 bls +0x6A /* 00000736 */
000006CE 0000 0064 ori.b D0, 0x64 /* 'd' */
000006D2 7379 moveq.l D1, 0x79
000006D4 7376 moveq.l D1, 0x76
000006D6 0000 0070 ori.b D0, 0x70 /* 'p' */
000006DA 7072 moveq.l D0, 0x72
000006DC 6F63 ble +0x65 /* 00000741 */
000006DE 0000 007A ori.b D0, 0x7A /* 'z' */
000006E2 6670 bne +0x72 /* 00000754 */
000006E4 7520 moveq.l D2, 0x20
000006E6 0000 0086 ori.b D0, 0x86
000006EA 7164 moveq.l D0, 0x64
000006EC 2020 move.l D0, -[A0]
000006EE 0000 00D0 ori.b D0, 0xD0
000006F2 6B62 bmi +0x64 /* 00000756 */
000006F4 6420 bcc +0x22 /* 00000716 */
000006F6 0000 0102 ori.b D0, 0x2
000006FA 6174 bsr +0x76 /* 00000770 */
000006FC 6C6B bge +0x6D /* 00000769 */
000006FE 0000 012A ori.b D0, 0x2A /* '*' */
00000702 6D6D blt +0x6F /* 00000771 */
00000704 7520 moveq.l D2, 0x20
00000706 0000 014C ori.b D0, 0x4C /* 'L' */
0000070A 7261 moveq.l D1, 0x61
0000070C 6D20 blt +0x22 /* 0000072E */
0000070E 0000 0170 ori.b D0, 0x70 /* 'p' */
00000712 6C72 bge +0x74 /* 00000786 */
00000714 616D bsr +0x6F /* 00000783 */
label00000716:
00000716 0000 0170 ori.b D0, 0x70 /* 'p' */
0000071A 0000 0000 ori.b D0, 0x0
0000071E 0000 0000 ori.b D0, 0x0
00000722 7001 moveq.l D0, 0x01
00000724 6082 bra -0x7C /* 000006A8 */
00000726 7000 moveq.l D0, 0x00
00000728 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
0000072C 5C80 addq.l D0, 6
label0000072E:
0000072E 6000 FF78 bra -0x86 /* 000006A8 */
00000732 7000 moveq.l D0, 0x00
00000734 3038 015A move.w D0, [0x0000015A /* SysVersion */]
// begin alternate branch 00000736-00000738
label00000736:
00000736 015A bchg [A2]+, D0
// end alternate branch 00000736-00000738
label00000736: // (misaligned)
00000738 6000 FF6E bra -0x90 /* 000006A8 */
0000073C 7000 moveq.l D0, 0x00
0000073E 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00000742 5240 addq.w D0, 1
00000744 6000 FF62 bra -0x9C /* 000006A8 */
00000748 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
0000074E 6738 beq +0x3A /* 00000788 */
00000750 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
// begin alternate branch 00000754-00000756
label00000754:
00000754 0B22 btst -[A2], D5
// end alternate branch 00000754-00000756
label00000754: // (misaligned)
label00000756:
00000756 6734 beq +0x36 /* 0000078C */
00000758 204F movea.l A0, A7
0000075A F280 .extension 0x280 // unimplemented
0000075C 0000 F327 ori.b D0, 0x27 /* '\'' */
00000760 3017 move.w D0, [A7]
00000762 2E48 movea.l A7, A0
00000764 0C40 1F18 cmpi.w D0, 0x1F18
00000768 6716 beq +0x18 /* 00000780 */
0000076A 0C40 3F18 cmpi.w D0, 0x3F18
0000076E 6710 beq +0x12 /* 00000780 */
fn00000770:
00000770 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00000774 670E beq +0x10 /* 00000784 */
00000776 0C40 1F38 cmpi.w D0, 0x1F38
0000077A 6708 beq +0xA /* 00000784 */
0000077C 7000 moveq.l D0, 0x00
0000077E 600E bra +0x10 /* 0000078E */
label00000780:
00000780 7001 moveq.l D0, 0x01
00000782 600A bra +0xC /* 0000078E */
label00000784:
00000784 7002 moveq.l D0, 0x02
label00000786:
00000786 6006 bra +0x8 /* 0000078E */
label00000788:
00000788 7003 moveq.l D0, 0x03
0000078A 6002 bra +0x4 /* 0000078E */
label0000078C:
0000078C 7000 moveq.l D0, 0x00
label0000078E:
0000078E 6000 FF18 bra -0xE6 /* 000006A8 */
00000792 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00000798 6E1C bgt +0x1E /* 000007B6 */
0000079A 303C A89F move.w D0, 0xA89F
0000079E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000007A0 2408 move.l D2, A0
000007A2 203C 0000 AB03 move.l D0, 0xAB03
000007A8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000007AA 203C 0000 0100 move.l D0, 0x100
000007B0 B488 cmp.l D2, A0
000007B2 6606 bne +0x8 /* 000007BA */
000007B4 600A bra +0xC /* 000007C0 */
label000007B6:
000007B6 7000 moveq.l D0, 0x00
000007B8 6006 bra +0x8 /* 000007C0 */
label000007BA:
000007BA 203C 0000 0200 move.l D0, 0x200
label000007C0:
000007C0 6000 FEE6 bra -0x118 /* 000006A8 */
000007C4 1038 021E move.b D0, [0x0000021E /* KbdType */]
000007C8 41FA 0016 lea.l A0, [PC + 0x16 /* 000007E0, value 0x3130B02 */]
000007CC 2248 movea.l A1, A0
label000007CE:
000007CE 1218 move.b D1, [A0]+
000007D0 6700 FEEA beq -0x114 /* 000006BC */
000007D4 B200 cmp.b D1, D0
000007D6 66F6 bne -0x8 /* 000007CE */
000007D8 91C9 sub.l A0, A1
000007DA 2008 move.l D0, A0
000007DC 6000 FECA bra -0x134 /* 000006A8 */
000007E0 0313 btst [A3], D1
000007E2 0B02 btst D2, D5
000007E4 0106 btst D6, D0
000007E6 0704 btst D4, D3
000007E8 0508 btst A0, D2
000007EA 0900 btst D0, D4
000007EC 7000 moveq.l D0, 0x00
000007EE 4A38 0291 tst.b [0x00000291 /* PortBUse */]
000007F2 6B16 bmi +0x18 /* 0000080A */
000007F4 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
000007F8 0201 000F andi.b D1, 0xF
000007FC 0C01 0001 cmpi.b D1, 0x1
00000800 6608 bne +0xA /* 0000080A */
00000802 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00000806 1028 0007 move.b D0, [A0 + 0x7]
label0000080A:
0000080A 6000 FE9C bra -0x162 /* 000006A8 */
0000080E 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00000814 6D16 blt +0x18 /* 0000082C */
00000816 7000 moveq.l D0, 0x00
00000818 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
0000081C 0C00 0001 cmpi.b D0, 0x1
00000820 670C beq +0xE /* 0000082E */
00000822 0C00 0003 cmpi.b D0, 0x3
00000826 6D04 blt +0x6 /* 0000082C */
00000828 5340 subq.w D0, 1
0000082A 6002 bra +0x4 /* 0000082E */
label0000082C:
0000082C 7000 moveq.l D0, 0x00
label0000082E:
0000082E 6000 FE78 bra -0x186 /* 000006A8 */
00000832 303C A89F move.w D0, 0xA89F
00000836 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000838 2408 move.l D2, A0
0000083A 203C 0000 A88F move.l D0, 0xA88F
00000840 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000842 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00000846 B488 cmp.l D2, A0
00000848 670A beq +0xC /* 00000854 */
0000084A 598F subq.l A7, 4
0000084C 3F3C 0016 move.w -[A7], 0x16
00000850 A88F syscall OSDispatch
00000852 201F move.l D0, [A7]+
label00000854:
00000854 6000 FE52 bra -0x1AC /* 000006A8 */
00000858 0000 .incomplete